//
//  FDNewFeaturesController.m
//  FamousDoctorOnline
//
//  Created by 应谨鸿 on 16/7/11.
//  Copyright © 2016年 wszyxc. All rights reserved.
//

#import "FDNewFeaturesController.h"

@interface FDNewFeaturesController ()<UICollectionViewDataSource,UICollectionViewDelegate,UICollectionViewDelegateFlowLayout>

@property (nonatomic, strong) UICollectionView *FeaturesView;

@end

@implementation FDNewFeaturesController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UICollectionView *FeaturesView = [[UICollectionView alloc]init];
    
    [self.view setBackgroundColor:[UIColor redColor]];
    
    self.FeaturesView = FeaturesView;
    
    [self.view addSubview:FeaturesView];
    
    FeaturesView.delegate = self;
    
    FeaturesView.dataSource = self;
    
//    [self setupFeaturesLayout];
    
}
/**
 * 约束
 */
//- (void)setupFeaturesLayout{
//    [self.FeaturesView mas_makeConstraints:^(MASConstraintMaker *make) {
//        
//        make.center.equalTo(self.view);
//        make.edges.mas_offset(UIEdgeInsetsMake(10, 10, 10, 10));
//        
//    }];
//    
//}

//- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section{
//
//    return 2;
//}

// The cell that is returned must be retrieved from a call to -dequeueReusableCellWithReuseIdentifier:forIndexPath:
//- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
//
//    
//}

@end
